package edu.Methods;

import java.util.Scanner;
import java.util.stream.StreamSupport;

public class method05 {
    public static void swop(int[] a){
        int temp;
        temp = a[0];
        a[0] = a[1];
        a[1] = temp;
    }

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int[] a = {10,20};
        swop(a);
        System.out.println(a[0]+" "+a[1]);
    }
}
